package com.woniuxy.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Controller;

/**
 * @Author: 马宇航
 * @Todo: 这个配置类用来获取配置文件中的数据
 * @DateTime: 22/02/14/0014 下午 2:31
 * @Component: 成都蜗牛学苑
 **/
@Data
public class MaYuHangConfigurar {
    String url;
    String name;

    public MaYuHangConfigurar(String url, String name) {
        this.url = url;
        this.name = name;
    }

    public String updateMyConfig(){
        return "";
    }
}
